<html>

<head>
<meta charset="UTF-8">
<title>查看用户详情</title>
</head>
<body>
	<link rel="stylesheet" type="text/css" href="/css/form.css">
	<script type="text/javascript" src="/js/user_manage.js"></script>
	<script type="text/javascript">
		$(".navigation span:first").text("用户管理");
	</script>
	<#include "/head.ftl"/>
	<div class="content">
		<div class="tab">
			<div class="tab-header">
				<a title="返回" class="btn btn-setting" onclick="back(this)">
					<i class="iconfont icon-undo"></i>
				</a> <a title="刷新" class="btn btn-setting" onclick="refresh(this)">
					<i class="iconfont icon-refresh"></i>
				</a> 
			</div>
			<div class="form-content">
				<div>
					<fieldset class="showInfo">
						<legend>员工信息</legend>
						<table>
							<tr>
								<td>姓名：</td>
								<td>${user.realName}</td>
								<td style="text-align: center;" colspan="2" rowspan="4">
									<#if user.photo?? && user.photo!=''>
										<img id="head" src="/file/image/${user.photo}" width="150px" height="150px" style="border:1px solid rgba(0, 166, 90, 0.5);margin:20px 0;">
									<#else>
										<img id="head" src="/images/default-head.jpg" width="150px" height="150px" style="border:1px solid rgba(0, 166, 90, 0.5);margin:20px 0;">
									</#if>
								</td>
							</tr>
							<tr>
								<td>性别：</td>
								<td>${user.sex}</td>
							</tr>
							<tr>
								<td>学历：</td>
								<td>${user.education}</td>
							</tr>
							<tr>
								<td>出生日期：</td>
								<td>${user.bir}</td>
							</tr>
							<tr>
								<td>身份证号：</td>
								<td>${user.identity}</td>
								<td>毕业院校：</td>
								<td>${user.graduationSchool}</td>
							</tr>
							<tr>
								<td>邮箱账号：</td>
								<td>${user.email}</td>
								<td>手机号码：</td>
								<td>${user.tel}</td>
							</tr>
							<tr>
								<td>所在部门：</td>
								<td>${user.dept.name}</td>
								<td>所属职位：</td>
								<td>${user.deptOffice.name}</td>
							</tr>
							<tr>
								<td>基本工资：</td>
								<td>${user.sal}￥</td>
								<td>就职日期：</td>
								<td>${user.hiredate}</td>
							</tr>
							<tr>
								<td>银行卡号：</td>
								<td colspan="3">${user.bank}</td>
							</tr>
							<tr>
								<td>家庭住址：</td>
								<td colspan="3">${user.address}</td>
							</tr>
						</table>
					</fieldset>
				</form>
			</div>
		</div>

	</div>
</body>
</html>